package com.leo.manage_system.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leo.manage_system.entity.UserWechat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leo.manage_system.entity.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;

/**
 * <p>
 * 微信用户信息 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-11-17
 */
@Mapper
public interface UserWechatMapper extends BaseMapper<UserWechat> {
    //    SELECT res.`name`,user_wechat.*
//    FROM res,user_wechat
//    WHERE res.user_id=user_wechat.open_id
//    @Select("SELECT res.`name`,user_wechat.* " +
//            " FROM res,user_wechat " +
//            " WHERE res.user_id=user_wechat.open_id")
//    List<UserVo> getQuestionStudent(Page<UserVo> page, @Param("ew") QueryWrapper queryWrapper);
}
